Refactor JS target and add single-file option
Refactor JS target and add single-file option

Pass `single: true` to compile to force compiling without import-export
dependency system.

dirk/hummingbird,dirk/hummingbird,dirk/hummingbird