shamp.js lib