Sqlite manipulation using Node JS