change api; fix for firefox
update readme