make camera getPosition() callable from js