Updated relative location changes and js required for heart.html to work seemlessly

Updated with the relative locations