Adding wrapper functionality for fgl.js