modified styling and updated js