get around same origin issue to allow download on gh pages