Small fixes from JSHint