consolidate AMD package configuration into JBrowse/init.js, used by both the html files and the build system