js script linking fix