Routing collection + setting app route
Do not inspect `results` unless it exists
Simplified state setting
Adjusted file upload parameters
jshint