Javascript for forecast views complete