can use javascript to render pages