Refactored css / js structure a bit and implemented require.js.