Added editor for JavaScript rule