div and javascript for displaying missing units