fixes for production app to work after grunt build.