Update main.js

deleted  mouseleave function