Avoid js error at launch.