fixed js linking