The Selenium plugin allow to run your test in a real browser. The main advantage is the JavaScript support is perfectly identical to your target browser (of course). The main drawbacks are it is slooooooow and can't run on a headless server.
This plugin is still in development. In fact not all test cases works. Feel free to contribute