Corrections, from JSHint warnings