javascript to show and hide movies based on user preference