Reorganize javascript assets
Load app_host from application.yml
Correct app_host loading