remove useless js from index