Arguments can now be passed from js -> c++.
Removed some dead code.
Promises can now be rejected when an exception occurs.
Added rotate_yaw/pitch to the player api.