added sample local.js file