Create functions for url to hash functionality
Switch ajax load scripts from if statements to switch-case statements
Organize main.js into thematic function()s
Organize main.js into thematic function()s
Merge branch 'fix-javascript' into working