Added comments and Firefox workaround.