add a js object manager