APD-692: Fixed js error in add-to-favorites
Merge branch 'APD-692' into develop