patched jquery.js to resolve getAttribute error