styleEditor js fixed