Merge CodingCooky's changes

Updated with vr.js from https://github.com/CodingCooky/npvr/tree/master,
and merged some of the native chrome plugin changes as well. This added
position updates but some other minor stuff too.