Update miner.js

Adding styles element.