Update prop.js

Feature checking on document.documentElement instead of document.body - this way it doesn't require <body> to be present at the time the script is loaded.