small musing on headless testing of javascript in perl apps