JSHint code style fixes

except wherever intentional