fixed kinematics js