added empty string fix, restored jshint