first cut of FT for javascript
Passed FT test for javascript