Add scripts for truncating html files to show them inside Rails views