Create acceleration.js