Call callback() function directly instead of via an anonymous function