remove unused javascript