Fixed JS error
Automatic database dump

Trying to implement an automatic database dump