Line 58 you set this to undefined - seems like you could get away with a single declaration.