[BUGFIX] Prevents javascript error for insecure operations due to cross-domain stylesheet access