FIX: Fixes regression in 28eaf1d. Incorrect disabling JS logic order.