#196 updated js calls