added console compatibility js file and fixed a sorting issue for brand safe