Fixed JSHint errors in spec.helper.js