Pure JavaScript component of Flourish