added check cmd to http
always create a fresh doc
cmds for browser and script
Merge pull request #15 from spderosso/master

cmds + added missing constraint