IBM interview question

How is the javascript engine structured