First JS version of imports #sotm13 (cf #62)

(thanks to @tmcw for libs and more!)