I don't believe there's a connection between mental problems and talking racist shit on twitter. We don't really need to dig very deep, he's just a good old racist.
I don't think his views came about due to his benzo bonanza, but I think the whole experience has definitely impacted him. He's always been a tool but post coma JP is a walking comic book villain.