remove debugging from JS