Add support for JS bundling
0.5.1