anchor.diff:  web_root() ->
       filename:join(code:priv_dir(rabbitmq_websockets), "www").
   
  -js_root() ->
  -    filename:join(web_root(), "js").
  -
  -css_root() ->
  -    filename:join(web_root(), "css").
  +sub_folder(Folder) ->
  +    filename:join(web_root(), Folder).
   
   %-----------------------------------
   % Websockets Handling Implementation
  
positive.code:     Req:file(filename:join(web_root(), "favicon.ico"), [{"Content-Type", "image/vnd.microsoft.icon"}]);
  
  handle('GET', ["js", FileName], #http_state{req=Req}) ->
      Req:file(filename:join(js_root(), FileName), [{"Content-Type", "text/javascript"}]);
  
  handle('GET', ["css", FileName], #http_state{req=Req}) ->
      Req:file(filename:join(css_root(), FileName), [{"Content-Type", "text/css"}]);
  
  handle(_, _, #http_state{req=Req}) ->
      Req:ok([{"Content-Type", "text/plain"}], "Page not found.").
  
negative.code: 
  parse_data(Data) ->
      case string:tokens(Data, ":") of
          [Exchange, RKey] -> {list_to_binary(Exchange), list_to_binary(RKey)};
          [Exchange] -> {list_to_binary(Exchange), <<"">>}
      end.
  
  maybe_start_consumer(undefined, Args) ->
  