index.jade working dynamically