added ajax setup to functions.js and some images