move script to head + onlick for button