JSHint + Idiomatic + remove trailing spaces