put logging back into main, get app to start to load as JavaScript