added p font style and fixed js errors