fix problem with missing html5 attributes used to change month via js in calendar