Copyright update
Replace if(){statement} with if()statement;
Slight change to the way Trait is created
===
Use standard JS class instead of a base2 class
Update API documetation