prevent 'Method code too large' exception

jacoco agent throws 'Method code too large exception when using
HtmlUnit (see http://goo.gl/5THrnt)