added main debug button, starting js validation