nodejs module for use inside a cointhink script