Prevent js error and only add live preview when needed
Update examples
1.16.1