File download is now made through javascript.