What does a JavaScript interpreter achieve in a layout engine