fixed the css issue and addressing the jquery