calculate experience in js. but fall safe to 5+ yrs