In Javascript functions are declared like so:
var funcName = function() { .. };
Please refer to the style guide I emailed out.