added calendar javascript