Updates for grails and phonegap