Update lib/webos/plugin/webos/compass.js

Reverting code change that broke functionality (Uncaught TypeError: Cannot read property 'magn
eticHeading' of undefined)