[#75228026] Fixed an issue where javascript would fail due to no input elements.