finished skeleton of js files