prototyping javascript/angular/require etc.