Fixed free() bug in writet1.c and corrected js files