Fix for hash fragment issue

...istory integration, and imports the JavaScript fiels directly to make sure that the history framework doesn't get imported.