app.js

Update to if statements for arrays