add support for _events.js file. closes #28