First pass at JSHint adjustments