Corrections to JS testing guide