interpreting with JS and basic TDOP parser