thorax.js frontend for media management