js content type fix