Update compiler.js

Update compiler.js so it always compiles under the same app-namespace.