Moving to Processing Implementations from Programming Questions, although it is probably more an Integration & Hardware question...
Beside, I just tested some Processing.js sketches (in Firefox 4 on Win7) and saw no blue border.
It is probable a problem with the browser you use (hence the I & H allusion). At best, try a CSS solution.