Node.JS JSON to MySQL front-end and back-end Javascript library