started working on js rendering