a lightweight way to test some javascript