fix(js): extended experimental code of 8b10cd54