Update app.js

add lives, tickets for lives and scores, 
win lives for every 10000 points