add sample js file