jquery compatability issue, typo fix