this javascript takes a user given day and month and returns all the days in that month