JS block implementation beginning.