Remove require fs in lib/index.js

This removes the statement where fs module is required. fs module is not available in browser environment and it will cause an error when called