Include app require config directly in the js
Merge pull request #1040 from lonelyplanet/if-require-config-2

Include app require config directly in the js