[wip] actually add fragments.js