Updating to use on for latest jQuery support.