working on allowing only to update preview when scripts are valid
only updating preview when scripts are valid
defining monitors for preview
adding set up on monitor for preview
fixing js errors
improving preview container