updated to use virid's dustjs