make the app JS based