Add ear css and js event listeners