adding js and fixing css