removing useless js