new jquery version and tiny changes in rewrite class