CON-2222 | Venus preview

CON-2222
Please export the global JS variable only when it's set to true.