remove dojo and swap live listener for on listener