logging for Javascript response done and changed generators