Update mouse.js

- add closing button functionality
- show/hide reporting button