add requirejs and fix a few syntax things
html fixes