[bug981352] - Removed the closure, added jslint unparam