changed yam.js