Added styling to the client side pr() function