added tests for reading and writing a field with "js" tag