fix ; position of if(){} at application.js (#13811)
Contributed by Adrian Wilkins.
Authored by: tmaruyama 2013-04-20
Parent: [r11731]
Child: [r11733]