assign a new hash to url when doing ajax submit form