refine app-start.js