Add javascript function to get csrf_token
Update readme
Add subnet support. Closes #27