Moving monthday_from_month function to broader scope for access in reviews.js