popup window for enchant.js