Created Two lists based on type and IsFriendly properties.
Updated HTML WebPage to link to JS file.