adding changes for cross-domain policies.
fixing css/js locations and.