eliminate MSDOS EOL in PHP library
upgrade to version 2.1: move version to main file to eliminate external dependency and add new method doSetRelation
Upgrade javascript version with GetRelated and SetRelated methods