modify now surfaces_yaml.js can use on browser