I've been learning backbone this week. I find my JS is more robust (and often works first time!) when it's all neatly separated.