Simple Socket IO+cordova program for web and mobile