refactor(scripts): remove unused code to make jshint happy