cleaned JS