Changed the fallback slightly for aspx pages. EnumberLocalizations returns an empty array, so no error would be thrown by require.
#MBL-10165 Fixed