Changed trigger events as old namespace was causing errors with newer versions of jQuery