When the novel first takes place you can see how society's views of black people have influenced Huck. We first see this when Huck and Tom sneak out of the house and play a trick on Jim by taking his hat while he's asleep and putting it in a tree branch over his head. Huck constantly plays pranks on Jim throughout their journey. It shows that Huck's view of Jim is more like something to joke around with and not something to respect due to his skin color.
When Huck and Jim find each other on Jackson Island it seems as if it's a dream like setting. Huck who had broke away from the pressure of society and Jim who is also longing to be free and be able to have a say have both come together in search for freedom. Both of them are viewing their freedom differently though. Jim aspires to be with his family, and have the freedom of a normal person. Huck's freedom is all about personal freedom to escape the rules, do what he wants and live an adventure.
The river is Huck's world for an adventure. His whole run away plan is like this world where he can do what he wants and not worry about anything. The one thing he does not realize though is through all of his pranks he is jeopardizing the chances of Jim getting caught. Huck's not thinking about Jim's goals but only his.
One prank Huck plays on Jim is when Jim talks to Huck constantly about superstitions and Huck thinks it would be funny to