Added ajax example
Make API allow cross origin