feat(js): put status code