fix inconsistency with 1-based months which caused march to have 28 days
fixing startWeekDay bug where option was ignored for some reason
jshint + refactor