Added favorite path - JavaScript