Added jquery debounce plugin and used on buttons