javascript part of code clicker.