Hi, client scripts are not supported for the preview page currently. It is a good feature to have it.
+1
Try v2024.