Some more changes to fix require.js functionality in production mode. Asset pre-compilation and digests not quite working right so disabled for now.