style(parseSpec): make jshint happy