Good catch. I need to go through and get everything consistent and setup JS Lint to catch any further errors. Not sure if we're better to try and match of PHP style as much as possible, or match common JS coding style..

I think I've been doing something like Allman after function() and BSD KNF for simple objects.. but mostly lazy and so its a mess.