[NF] Pass parameter to javascript (#31).