fix mousemove to use $(document)