fix http test (JS)
add http_text_part function (Javascript)