implement assert js files