Fix dot-notation lint in app.js and search.js

Reported by jshint via `fab vagrant check`