Stated implementation

Started implementing the new JS blocks on branch thread
Doesn't work yet