Updates to optimise js includes on lights page
Updates to make home page not error out when no internet or met office api key