Separated calendar_view html and javascript in preparation for qunit testing