refactor: extract loader and make bootstrap use requirejs plugin
fix: update demo to transpile reps from source