Relates to #575, unit tests under xpcshell and rhino failed, this fixes