Create slave.js

The web worker responsible for calculating Pi.