Improved JSON String procesing in Non-Webkit browsers