creating dynamic resume using javascript