Modifications to support  "App"  Web Pages and Ajax Requests   e.g.  loc...

...alhost:8888/tgm