Broke the templates onto the index.html itself.
Use templating to render dynamically the categories.
Added requirejs, refactored, broke code out into its own files.