use xvfb to test javascripts.