feat(js): include img status and type