add basic testing for javascript core language.