modified JSregistration page to handle doc and .docx resume type