function require(path){
  script = document.createElement('script');
  script.type =  'text/javascript';
  script.src  =  uri.self + 'media/js/' + path;
  document.getElementsByTagName('head')[0].appendChild(script);
}