app base path is passed from the main js