Added AttributeSelector support to ExternalTool
Reorganized code in preparation for separating JavaScript functionality
into a separate file.
Moved JavaScript code in WeaveAPI.as to JavaScript.as
updated documentation
improved documentation
needs testing