Added to amd and yui exmaple