more originze way to use require.js

let me know if its works for you.

also on line 68 in  public/scripts/router.js I've used "self" instead of this since this was out of the scope.