Undoing temporary revert to old version. Adding accelerometer plugin to
config.xml