fixed NS_ERROR_DOM_BAD_URI: Access to restricted URI denied
fixed open local file failed,it's  NS_ERROR_DOM_BAD_URI: Access to restricted URI denied,alert warning
changed ajax function.