- test render as javascript