example js file