App.js connects to the server and leap motion