added alert with JS