Add script for 'Rvis_JS_function' function
Add test data to script
Add comment block containing expected output
Add function to generate JS function