Update jQuery to 1.9.1 and update JavaScript code style. Also remove deprecated $.ajaxSetup call.