Fix for javascript/jquery error on Goals page