Fix support for Browser Console in Firefox 29+

See http://custombuttons.sourceforge.net/forum/viewtopic.php?t=3247