Update smartphone.js