More updates to support JQuery 1.9.