Added js events