Update to work to recent jQuery version
Some issues with charset fixed