A simple library-agnostic arcball camera in Javascript