some comments for portable.js