PLFM-2224: create text previews for sh and js files