Easy syncronisation between local DB (JS) and server (MySQL, PHP)