C version parse time 2210ms vs js version 4500