Removed evil eval and replaced with jquery.parseJSON