This project has some notes on what I learned from working on a web application that used lots of javascript.