Make .text() calls actually set the right id, however end of month check still doesn't work