js: hide form when user press escape key