Json + Ajax +Changes to dynamically generated file