add poolerino, add hard fork stuff, move js to scripts/ + add closure