Removed circular dependencies among JavaScript files.