Issue 2912: 	problems debugging javascript added by appending script tags