fix up code to not be webkit-specific
Merge pull request #1 from Spudd86/master

fix up code to not be webkit-specific