Tidy menual test page code

Adjust code formats and fix an display issue of calendar header when
using modern browsers like Chrome 31 or IE 11.