User:DTLHS/sensesfirst.js

var bodyContent_ = document.getElementById('wikiPreview') || mw.util.$content[0]; var jsonObj = JSON.parse( bodyContent_ )

function testfunction { document.getElementById("content").insertBefore(document.createTextNode("test")) }

jQuery(document).ready( testfunction );