Added documentation for fnAddScript()

Documentation for method fnAddScript() was added.