feat(js): score images