Fixing appstart.js