changes to api.js for gene page (previously squashed my own changes with
merge)