fix(client/js/jquery-plugin.js): fixes #1037 - catch event handler exceptions