replace jquery-json with es5 equivalents

fixes #3