Remove unnecessary inner function.
Add empty line to end of file.
Put JS code in closure, then export main fn.
Pull cal generator fns into their own object.
Make msInMinutes uppercase: it is a constant.
Sort out line lengths.  Under 80 chars is better for code readability.
Move all out of createCalendar().

* Now that we have a closure, no worries about leaking vars.
* Though all these fns are called by createCalendar(), they make it a function that is hard to read.
Give GENERATORS more descriptive name.  Also make it not lowercase.
Make validParams() fn to check params.  Make it check explicitly for undefined.
Move validParams() check to top of createCalendar().
createCalendars() now prepares data, then calls new generateMarkup fn.
Make separate fn to decide calendarId.
Add getClass() fn to get class from params.
Make generateMarkup() take class, rather that whole params obj.
Merge branch 'master' of github.com:maryrosecook/ouical