Fixed some issues

Removed call to navigator.alert in hellocordova2. Ran jshint against
everything and made the appropriate fixes.