added some ideas to ajax_calls.js in public folder