Fix BUILD_NUM for debug deploy
Fix problem where loading js resources from another host doesn't work
Merge branch 'master' into inabox