linked clicker to js