Please jslint by adding a ;
Removes unused 'onError' function