The nws-alerts script outputs a file that contains arrays of data for each location. Viewing the alerts is just reading the data file.
Since you have everything saved locally, it would be easier to extract the data and format an output to use in your web page rather that modifying the nws-alerts file that mostly deals with checking/downloading 2 URL's for each location, XML, and sorting data.
Because of the change-over in the near future, there is only one download per location and perhaps it could be used to get local files.
Are your files saved in the original CAP format? Can you get geo/json files?