Hello world.
This is 1 attempt to add Biotic Reading Functionality - bootleg edition.
{"ScriptPreparationCode":null,"TestCases":[{"Name":"Jquery","Code":"$(\u0027p\u0027).each(function(){\r\n //split by word\r\n var pdata = $(this);\r\n var words = pdata.text().match(/\\b(\\w\u002B)\u0027?(\\w\u002B)?\\b/g);\r\n //replace the first half of every word with bold\r\n $.each(words, function(w){\r\n let boldword = words[w];\r\n let half = boldword.substring(0, \r\n Math.ceil(boldword.length/2));\r\n boldword = boldword.replace\r\n (half, \u0027\u003Cstrong\u003E$\u0026\u003C/strong\u003E\u0027);\r\n words[w] = boldword;\r\n })\r\n //return it to the html\r\n pdata.html(words.join(\u0022 \u0022));\r\n });","IsDeferred":false},{"Name":"Javascrippt","Code":"var elms = $(\u0022.bioRead\u0022);\r\nfor (var p = 0; p \u003C elms.length; p\u002B\u002B) {\r\n str = elms[p].innerText;\r\n var result = \u0022\u0022;\r\n var res = str.split(\u0022 \u0022);\r\n for (var w = 0; w \u003C res.length; w\u002B\u002B) {\r\n let word = res[w];\r\n if (word.length \u003E 1) {\r\n let half = word.substring(0,\r\n Math.ceil(word.length / 2));\r\n word = word.replace(half, \u0027\u003Cstrong\u003E$\u0026\u003C/strong\u003E\u0027);\r\n }\r\n result \u002B= (word \u002B \u0022 \u0022)\r\n }\r\n elms[p].innerHTML = result;\r\n}","IsDeferred":false}]}