Update jade in dependencies
Use path.basename and regex to conform filenames identifiers