add skeleton of js file methods