rearranged script tags: no more errors in webkit inspector.
merging html for physics support.