remote record rendering
minor additions to javascript utils