Update trick.js

Line 77: Weather or not you lack param cb? Fuction cb mustn't be a global one.