Move hasClass, addClass, and removeClass to azkaban.common.utils.js.