Fix README examples

* Correct the JS examples.
* Correct the AMD wrappers.
* Fix the module paths that are used so that their install location
  doesn't matter. It should be configured separately using RequireJS.