Get Day Of Year Javascript