fixed JS for div layout