added the first version of the JS function that stores and retrieves the list of the referrers that brought a user to the website