use js parse json instead of flash
update dist