add pusher-client
remove fixed values
move scripts first
put the triggered event in a variable
use app.js
move app.js to js folder