removed trailing slash from js files