automatic view refresh using jQuery after file uploaded