Bootstrap Switch Field widget causes the browser to be unresponsive for 10 seconds after clicking submit