-Changed month detection to work for Safari too. #522