Removed redundant braces from function definitions ('function foo'
instead of 'function foo()').