Rewrote the transpiler to include ReactJS.
Added callbacks to handle errors in the scripts.