updated jquery extension