Added so we can add custom css/js files for page types and fixed so custom css/js is loaded right for properties