If you're looking for a one size fits all solution in regards to formatting, check out prettier, which has quickly risen to become the standard in formatting across a plethora of grand open-source projects.

Type Coercions

There are many ways to convert a number to a string and vice versa.
Just keep in mind that some are more clear than others.

Constructors

Want More Style?

These guidelines will keep your code clean, consistent, and readable. If you want a few more sources for JavaScript coding style you should check out the following links to the style guides for some majors companies.

Text Editor Setup

As a final note, it can be very helpful to set up your text editor with a few extra bells and whistles like a linter or formatter. As an example, see how Elad Ossadon set up is Atom for JS editing. You don't have to do exactly the same but should consider helping yourself out where you can with some additional packages.