mldb->mljs and fix formatting of tutorial samples

update the doc index file