updated rainyday.js