Remove JS warning when using typedef. Enable typedef tests when running as JS.
Merge pull request #14 from DrMarcII/master

Remove JS warning when using typedef. Enable typedef tests when running as JS.