protect js files