Resolving syntax error within univariate_plugin.js