refactoring

Rename variable in block.js