adding plugin for iPhone accelerometer