changes to api.js for gene page (previously squashed my own changes with
merge)
Merge remote-tracking branch 'upstream/master'