Updated insert_validator and other minor changes

removed unnecessary test.js
added css vars for button
added a node for block button