pass callback into the array

This is the fix for non-jquery version. When you were binding events you were passing an empty array.