Add basic compatibility for *nix and Windows
Merge pull request #9 from ianks/browser

Add basic compatibility for *nix and Windows