adding support for VRE

Opera Mini runs on this environment
Merge pull request #188 from dmolsen/do-vre-reorged

Adding support for VRE