anchor.diff:  
   %% @doc Generate the dispatch tables
   build_dispatch(DocRoot,StaticPaths) ->
  -    Handler = cowboy_static,
       StaticDispatches = lists:map(fun(Dir) ->
           Path = reformat_path(Dir),
           {StaticType, StaticFileDir} = localized_dir_file(DocRoot, Dir),
  -        Opts = [
  -                {mimetypes, cow_mimetypes, all}
  -        ],
  -        {Path, Handler, {StaticType, StaticFileDir, Opts}}
  +        Opts = [{mimetypes, cow_mimetypes, all}],
  +        %% This will end up being something like:
  +        %% { [<<"js">>,'...'], cowboy_static, {dir, "./priv/static/js", Opts}}
  +        {Path, cowboy_static, {StaticType, StaticFileDir, Opts}}
       end,StaticPaths),
   
       %% HandlerModule will end up calling HandlerModule:handle(Req,HandlerOpts)
  
positive.code:     %% static_paths, or rewrite cowboy's dispatch table
      Dispatch = [
          %% Nitrogen will handle everything that's not handled in the StaticDispatches
          {'_', StaticDispatches ++ [{'_',HandlerModule , HandlerOpts}]}
      ],
      cowboy_router:compile(Dispatch).
  
  
negative.code:     end,
      _NewPath2 = case lists:last(Path) of
          $/ -> {dir, NewPath};
          _ ->  {file, NewPath}
      end.
  
  %% Ensure the paths start with /, and if a path ends with /, then add "[...]" to it
  