old_contents: define([
  	'config/svg',
  	'config/namespaces'
  ], function (
  	svg,
  	namespaces
  ) {
  
  	'use strict';
  
  	// Test for SVG support
  	if ( !svg ) {
  		return function ( type, ns ) {
  			if ( ns && ns !== namespaces.html ) {
  				throw 'This browser does not support namespaces other than http://www.w3.org/1999/xhtml. The most likely cause of this error is that you\'re trying to render SVG in an older browser. See http://docs.ractivejs.org/latest/svg-and-older-browsers for more information';
  			}
  
  			return document.createElement( type );
  		};
  	} else {
  		return function ( type, ns ) {
  			if ( !ns ) {
  				return document.createElement( type );
  			}
  
  			return document.createElementNS( ns, type );
  		};
  	}
  
  });
  
new_contents: define([
  	'config/svg',
  	'config/namespaces'
  ], function (
  	svg,
  	namespaces
  ) {
  
  	'use strict';
  
  	// Test for SVG support
  	if ( !svg ) {
  		return function ( type, ns ) {
  			if ( ns && ns !== namespaces.html ) {
  				throw 'This browser does not support namespaces other than http://www.w3.org/1999/xhtml. The most likely cause of this error is that you\'re trying to render SVG in an older browser. See http://docs.ractivejs.org/latest/svg-and-older-browsers for more information';
  			}
  
  			return document.createElement( type );
  		};
  	} else {
  		return function ( type, ns ) {
  			if ( !ns || ns === namespaces.html ) {
  				return document.createElement( type );
  			}
  
  			return document.createElementNS( ns, type );
  		};
  	}
  
  });
  
subject: use document.createElement instead of document.createElementNS if possible, to avoid casing weirdness (#549)