CRUD raw javascript