Handle JavaScript files