improved as2js
added PalaceUser.js