Move fence.js to root directory