separating mainjs to smaller chunks
Using control for date change

Little hackish because canjs doesn't seems to support date picker.
function name refractor