1.4: use js object. add set_meta function.