function() replaced by function () throughout

Change-Id: I1b5a182c054318f4e02ce44a110319477e751e06