Eliminated line 309 on write.js