[#13] Update homepage JavaScript to work with File API.