Removed unused function
Cleanup and remove incorrect comment
Add ?batchTimeWhenVisible URL arg