Unnested all nested functions in signup.js, also made
CalendarMonth.ifValidMonth method do only one thing(return the result as
true or false).