added checkLike event handler