updated
add ajax
change getJSON to Ajax
add once function