In JS: Move logging to presenter, reorganize presenter a bit