Gemstones challenge solved with JavaScript

Published --