Find PsychoJS equivalent of Psychopy API functions

URL of experiment:
I’m still trying to run the experiment locally
Description of the problem:
Can you teach me how to implement the following PsychoPy functions on PsychoJS? The auto-complier doesn’t seem to work properly.

learn_mouse.setPos([0,0])

rock_width,rock_height = rock_clicked.aspectRatio

rock_clicked.setAutoDraw(True)

By design, web browsers don’t allow you to change the mouse position. You can ask the participant to click on a fixation cross to start this trial.