Updates for Folding.js