Fixed a bug which caused the webos to crash in Firefox 16.