JS style guide: Document usage and formatting of switch statments. Fixes #52.