Update keyEvent listener as deprecated in Brackets 1.1.0