Contributed some js to testing doc