js prop fixes