Changed host to hostname to avoid illegal url if a port is used
Changed host to hostname to avoid illegal url if a port is used
change flatPatternName regex to also match forward slashes
change flatPatternName regex to also match forward slashes
change flatPatternName regex to also match forward slashes
refactor js to commonJS
Merge branch 'dev'