jshinted app + events; also modified both