rm js plugin