added changes related to local js