make the site tokens stuff work; assign data- properties for api.js