styling and some javascript