Shake dice application for phoneghap