fix require bug, updated client
Merge pull request #82 from dannycoates/bugfix

fix require bug, updated client