Controller JavaScript fallback handling