Tools for FSCONS in javascript