basic JS function are running for custom blocks