Fix some style choices causing JSHint warnings

This pull request should contain zero functional changes. If there are any then please comment and I'll amend it before merging. The main changes are as follows:

 - For multiline var assignments and ternary expressions, place operators before new line instead of after. This is the style JSHint advocates and much more common among the JS community.
 - Change some statements to multiline to make them more readable (311-314, 446-448).
 - Added some explicit newline characters on help information instead of joining empty strings.