trying render action for js