Small syntax fix of JS commands