Removed debug code js and uncalled function loadLinkResourceForm()