add javascript to external show link page