Create rawtext2title.js

First implementation in js using Chromium console.