piwik.js with added function to hook an external js file that fires events