Fixed isScript and isStyle checks for text tokens
updated buildChunk not proxying spans with id ps-style too