Create mouse.js

Added support for Linux from https://gist.github.com/boundaryfunctions/2020943