change callback(){} to function(){} in readme examples