Update Resources/app.js

corrected variable names