Include JavaScript files as 'code' files.

When counting code files, JavaScript (*.js) files are not included, yet other web-types such as CSS and HTML are.