md data to js object.