Simplified Script DOM Parser + fixed loading document for SwingBox.