reverted parse js (new one didnt work)