modified server js remove redundancy tags