Added javascript functionality, divs and css