Python Path Get Current Year Javascript Foreach