removing query string from ajax saving