Handling params in ajax calls
Updated with Apache license