Adding SQL initialisation

- also deleting unnecessary jquery