fix the js issue in test_view.php for series_id