This adds a simple library for Quat helper methods in JS. We clearly can add more here. This was the bare minimum needed to implement mouse look in JS.