custom event of javascript added