fix JS containing html