Base main and library JavaScript files.