yet another javascript renderer