add PullRequestEvent. fix jslint errors