start to wrap js objects