Follow the tuturial from: http://www.binarytides.com/make-html5-game-box2d-javascript-tutorial/