require(['../raphael'], function(Raphael){ var paper = Raphael(0, 0, 640, 720, "container"); // Work here });