connect middleware for adding weinre script to the html