Add jQuery functions to replace the Javascript functions.