update css for add div so it is hidden there instead of in javascript