update to use new chlorinate
accepts js from stdin