rm: unused code (jslint)