Made the upload page more ajaxy