delete first_app for heroku
begin refactoring code to pure JS