Dynamic js/html for debugging