Using $.parseJSON instead of JSON.parse

Cause this is a jQuery plugin we should use more safety methods.