Date function javascript

Wrote function to find a quote in the arrays of quotes based on the date and day passed in.