- update parser code, using javascript