added jade headers and locals