for kate, update visual.js