use namespace to span - look into requirejs later