[Layout]: Fixed some issue related to AddHeadLink method
cosmetics
[Jaws_Ajax]: Fixed some js error related to latest changes plus some cosmetics