Update deviceshake.js