Remove useless javascript