Some random Javascript to run in Weka