core.js
// unload js at the end of experiment run
unload js at the end of experiment run
unload js at the end of experiment run
function unloadJS (ID) {
  if (document.getElementById(ID +'JS')) {
    scrElement = document.getElementById(ID +'JS')
    document.body.removeChild(scrElement)
    console.log('removed: ', ID +'JS')
  }
}
function unloadJS ( ID ) { if ( document . getElementById ( ID + 'JS' ) ) { scrElement = document . getElementById ( ID + 'JS' ) document . body . removeChild ( scrElement ) console . log ( 'removed: ' , ID + 'JS' ) } }
unload js at the end of experiment run
unload js at the end of experiment run