accepting # parameters from url

Parses # parameters from url and processes wsurl parameter.
Merge pull request #9 from xilabs/luke-dev-12122013

accepting # parameters from url