movingto head phonegao.js