NodeJS implementation of the original romcal library written in C