Update app.js

class changes