updated pusher to follow our jslint standard