Modified the way the js files are loaded in development mode. Now uses head.js