added ugly, ugly usage (JS doesn't do heredocs, apparently...)