improperly configured require, fixed by only using data-main linked js