remove javascript which is not used