#254 - Move mouse.js code into it's own file