corrected variable name (previously content of this variable was "")
moved flawed method in favorites.js closer to working counterpart in
savedsearches.js
made last change to favorites.js that makes the flawed method in it
exactly like its working counterpart in savedseaches.js
improved indenting
Merge branch 'DDBNEXT-1227-BAG' into develop