fix logout model sync after jquery update