styling changes and layout, added javascript