Missed 'functions' dependency in 'events' module in deps.js file (close #532)