Can save to DB, fixed JS