splash:jsfunc method. Fixes GH-128.