Please may you confirm that you directly edited the JS code to implement this specific issue? In general we recommend the fix to this error is to use experiment settings > online tab > set output path to empty and add any resources required (e.g. images) to the additional resources field.
if you remove “html” it is intentional that the html folder is not created as it will use the resources listed in the > Online tab > additional resources (rather than duplicating resources by also sending them to a compiled html folder. What error message do you get if you try to change the status of the project on pavlovia?