made all JS references include full URL for t4 compatibility