Fixed small named function parameter bug (JavaScript doesn't support them, so global variable were set)
Fixed small named function parameter bug (JavaScript doesn't support them, so global variable were set)

Factlink/js-library,Factlink/js-library,Factlink/js-library