Fixed require relative path issue

Relative pathing in RequireJS is relative to the web context path, not
the JS file's path.  Created special implementation for demo to point to
remote files.