added ajax template
javascript file added