Add Beanshell and Javascript dependencies for testing

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>