moving phonegap oneliner to the mobile-map template