add new article - upload file using javascript