remove unneded require from js