JS file detection