The Mechanics of JavaScript