Update quaternion.js