add sample js script