Fixed JSHint error

Fixed a JSHint error which was preventing the preprod server from deploying correctly.
@devcritter do you mind just reviewing this quick. Thanks