more work done on melt.js