Add js for markdown widget for images