Separate style event logic into a jquery plugin, separate Mouse into its own constructor, fox event binding/unbinding