Switch to SweetAlert and bower
Fix database consistency using ancestor queries