Cleanup JSHint errors.

Current master builds do not get properly checked against JSHint, these few issues snuck through the cracks.