reset beforeShowDate variables to stop applying to rest of dates
remove UTC calls on passed date (as it is passed as local time)
split main js file into separate files and concat with grunt