app created in html5 and rest api for voting and personal voting intended use phonegap