A javascript image color extractor