Fix trivial problems in the app page

I've found some trivial things when checking /app page is run on Rails4.1RC1.
(/app page is run on  Rails4.1RC1 with no problems.)