replaced parseJSON with evalJSON