[bug995318] - Updated index.html to use requirejs

Maybe something else should be moved to requireJS.
-> https://bugzilla.mozilla.org/show_bug.cgi?id=995318