Move main js into main app directory