define(function() { var props = window.webs && window.webs.props; if(!props) { try { if(typeof top.webs.props !== 'undefined') { props = top.webs.props; } else { props = {}; // initialize to an empty object if it doesn't exist } } catch(error) { props = {}; // initialize to an empty object if it doesn't exist } } props.imageProcessorServer = props.imageProcessorServer || 'http://mediaprocessor.websimages.com'; return props; });