Fix form validate if scrollDuration == 0.

1. Fix form validate if scrollDuration == 0.
2. Change messages to a single style.
3. Correct linux permission (755 → 644) on two files: i18n/messages.{ja,ro}.js.