Fixed a bug where a trailing slash in the target URL of a UMD app will break deployment.

In general I would be explicit unless otherwise necessary not to be... so I would use "===" in the comparison.