12 tips for writing clean and scalable JavaScript