jQuery patch to close #183