Update trick.js

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