Python Path Get Current Year Javascript Error