js line continuation is flaky. merged #6 and fixes #5.