added requirejs snippet