requirejs

added requirejs example with inheritance