Revert "Imported more code from zr_ide"

This reverts commit bf8eb172679291b34211dcc9e0bb956e51d3c154.
Revert "Replaced Procedures and Variables with typing-compatible versions"

This reverts commit 6020d1945e6b87e6e6674dc18795f1b8a79ed63e.
Added comments
Tweaked blocks
Added JavaScript Nature