add object and map to js file