JavaScript debugging (missing some content)