fixed js partial rendering