Crud Operations Using Javascript Variables