Making the build process much simpler. Fixed a small bug where a mouse event argument in not an array and not supported.