adding jquery and working on mouse events