removed extraneous third parameter to jquery .on('click', function)