extra changes to get rainday.js working