Bug fix for non jQuery objects, will investigate later to change to .on('click')