allow express static and views to work for express 3.x