misc. code cleanup
restore double curlies in javascript for pyrex template compatability
CaPiTaLiZaTiOn
Merge pull request #1 from bikegriffith/master

Code cleanup -- thanks Mike!