code: function getScriptElements($typeLazy) {
          var scripts;
          var src = $typeLazy.attr("src");
          if ("js" === getExtension(src).toLowerCase()) {
              return $typeLazy;
          } else {
              src = path.join(grunt.config.get('tmpdir'), src);
              if (fs.existsSync(src)) {
                  scripts = jsdom.jsdom(fs.readFileSync(src).toString());
                  return $(scripts).find("script");
              } else {
                  return $();
              }
          }
      }
docs: ! get script element.