Rename miner to miner.js