Template for phonegap