Better support of JavaScript files