added defer keyword to javascript tags