ajax.js: fix upload progress display in firefox
fix quickreply when recorded position is <0

Conflicts:
	js/quick-reply.js