fixed js method name