created basic layout, some javascript functionality