fixes #3026 Removing the Page Width from template designer gives JS errors