If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Make Bob Marley proud: shoot the sheriff (and just leave the deputy for the next guy).
Use arrow keys to move.
Space bar to Shoot/Jump
Pilot through the obstacles, taking as little damage as possible. Get to the sheriff. Then...well, you know what to do.