Added ajax request example

also added LICENSE file, changed indent from spaces to tab