This is my guide for writing consistent JavaScript code.