Populate data + need to change frame map to javascript map