update jquery ajax to 2.0 compat, and format file