Changes suggested by JSHint et al.