A node.js interface to the SWI-Prolog library