re #17 further optimization of js.metaret itself