Update src\jsLinq.js

1. Handling of types and LINQ over non array.
2. Removed duplicate API(s).