Fix recursive property check for Firefox (http://stackoverflow.com/questions/9692983/firefox-obj-style-hasownproperty)