split bottom js layout