Add support for JS bundling
0.5.2