configure form layout
add more utilities to calendar.js and fix form rendering