build potion.js