Change global.URL to global.APP_PATH.
Added closure-compiler.