JS updates for miner page