add error message when download js file failed

Signed-off-by: xiehuc <xiehuc@gmail.com>