Fix javascript get Year issue, using Date.getFullYear