Add sample js for more elements