js hover effects, removed inline click events, key events