Refactored taxaBrowser.js to leak less into global scope