phonegap shake sample