add javascript link in layout