Changed link to register.php to access server
Changed versions of files
Added console.log
Added mobileinit logic