Update app javascript to pass jslint, fixes #80