Added code to allow rendering of direct jade file or 'index'