Why set this value twice? Line 59 you are setting it to undefined.