Remove CONST
Define and use file existence helper
Add error for non-existing location
Define and use helper for checking if there is app.js