remove unused Javascript.