Remove unnecessary functions, and add functionality for favourites drop down list
Fix typo
New table for favourites
Script called by Ajax to update the favourites table