Turns out it was easy as pie!
All I had to do was create a canvas element and let it load my Processing .pde-file. Granted, I did not expect it to be difficult but pretty cool nonetheless.
You can try it out at http://hesselboom.com/achtung-js/. The controls are the same as last time, the left and right arrow keys for one player and A and D for the second.