split index.html; added client.js, added alertifyjs stuff
using alertifyjs now