Fixed a problem which was caused by the security model on Chrome.