Rename function and filename
Add script for 'Rvis_JS_function_splice' function
Remove gsub statements for modifying 'var_value' string
Add grepl statements in if block to detect matrix structure