[front-end, build] add widgets support for js source-maps
[unit-test, build] unit-tests support es6