a simple waerfall layout using javascript!